package com.share.config.baofu;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class BaoFuProperties {
    //  AES秘钥
    @Value("${baofu.aesKey}")
    private String aesKey;

    //宝付公钥
    @Value("${baofu.pubKeyFile}")
    private String pubKeyFile;

    // 商户私钥
    @Value("${baofu.priKeyFile}")
    private String priKeyFile;

    // 商户私钥密码
    @Value("${baofu.priKeyPwd}")
    private String priKeyPwd;

    @Value("${baofu.merchantHost}")
    private String merchantHost;
    @Value("${baofu.merchantAccount}")
    private String merchantAccount;
}
